package com.clothe.dao;

import java.sql.Connection;
import java.util.List;

import com.clothe.dto.Clothing;

public interface IClothingDAO {
	
	public boolean save(Clothing clothing) throws Exception;
	
	public boolean delete (int id) throws Exception;
	
	public boolean update(Clothing clothing) throws Exception;
	
	public boolean updates(Clothing clothing) throws Exception;

	public Clothing get(int id) throws Exception;
	
	public Clothing getbyKindid(int kindid) throws Exception;

	public List<Clothing> list(int pageSize, int pageNo,String queryString) throws Exception;
	
	public int getCount(String queryString) throws Exception;

	public void setConn(Connection conn);


}
